﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication2
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Write(Request.Url.Host);
            Response.Write("<br>");
            Response.Write(Request.Path);
            Response.Write("<br>");
            Response.Write(string.Format("{0}:{1}/api/login",Request.Url.Host,Request.Url.Port));
            Response.Write("<br>");
            Response.Write(ConfigHelper.APIHost);
            Response.Write("<br>");
            Response.Write(ConfigHelper.CookieHost);
            Response.Write("<br>");
            Response.Write("~/loginsuccess.aspx");
            Response.Write("<br>");
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/aa.aspx");
        }
    }
}